﻿using System;
using System.Collections.Generic;
using System.Text;
using Model;

namespace Model
{
    public interface ITechnological//流程管理接口
    {
        //申请状态
        IEnumerable<Astate> Astates();

        //请假类型
        IEnumerable<Leave_type> leave_Types();

        //请假申请待办查询
        IEnumerable<Leave> Leaves();

        //添加请假申请
        int AddLeaves(Leave l);

        //请假审核
        int examine(Leave l);

        //加班申请待办查询
        IEnumerable<work> Works();

        //添加加班申请
        int AddWork(work w);

        //加班审核
        int examineWork(work w);

        //添加出差申请
        int AddTravel(Travel t);

        //出差申请待办查询
        IEnumerable<Travel> Travels();

        //出差审核
        int examineTravels(Travel t);

        //添加活动申请
        int AddActivity(Activity a);
        
        //活动待办查询
        IEnumerable<Activity> Activities();
    }
}
